﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace AllServer.Core.Entity;
    ///<summary>
    ///微信登录表
    ///</summary>
    [SugarTable("TWxLogin")]
    public partial class TWxLogin
    {
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="Id")]
        public int Id {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="OpenId")]
        public string OpenId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="NickName")]
        public string NickName {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="Sex")]
        public string Sex {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="Province")]
        public string Province {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="City")]
        public string City {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="Country")]
        public string Country {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="HeadImgUrl")]
        public string HeadImgUrl {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="Privilege")]
        public string Privilege {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="UnionId")]
        public string UnionId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="ProductId")]
        public int ProductId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="UserCode")]
        public string UserCode {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="CreateTime")]
        public DateTime CreateTime {get;set;}
        /// <summary>
        /// 迁移主键
        /// </summary>           
        [SugarColumn(ColumnName="RawId")]
        public int? RawId {get;set;}
        /// <summary>
        /// 最后更新时间，用于同于更新判断
        /// </summary>           
        [SugarColumn(ColumnName="SyncUpdateTime")]
        public DateTime? SyncUpdateTime {get;set;}
    }
